module.exports = {
  assetsDir: 'static',
  runtimeCompiler: true,

  devServer: {
    port: 9999,
    proxy: {
      '/h5-api': {
        pathRewrite: {  '^/h5-api': '' },
        target: 'https://my.soft.haoyangsoft.com',
        ws: false,
        changeOrigin: true
      },
      '/map-api': {
        pathRewrite: {  '^/map-api': ''  },
        target: 'https://apis.map.qq.com',
        ws: false,
        changeOrigin: true
      },
    },
  },

}